package com.cysoft.log.demo.controller;

import com.cysoft.log.demo.model.GetDemoParams;
import com.cysoft.starter.log.core.annotation.IgnoreLog;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 玖零
 * @version V0.0.1
 * @project demo-cysoft-starter-log
 * @package com.cysoft.log.demo.controller
 * @date 2025-02-27 01:04
 * @desc
 */
@RestController
@RequestMapping(value = "/demo")
public class DemoController {

    @GetMapping(value = "/getDemo")
    public String getDemos(GetDemoParams getDemoParams){
        return "success";
    }


    @IgnoreLog
    @GetMapping(value = "/getIngoreDemo")
    public String getIngoreDemo(GetDemoParams getDemoParams){
        return "success";
    }



}
